<h1>Listing video_comments</h1>

<table>
  <tr>
    <th>Video</th>
    <th>User</th>
    <th>Title</th>
    <th>Comment</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @video_comments.each do |video_comment| %>
  <tr>
    <td><%= video_comment.video_id %></td>
    <td><%= video_comment.user_id %></td>
    <td><%= video_comment.title %></td>
    <td><%= video_comment.comment %></td>
    <td><%= link_to 'Show', video_comment %></td>
    <td><%= link_to 'Edit', edit_video_comment_path(video_comment) %></td>
    <td><%= link_to 'Destroy', video_comment, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Video comment', new_video_comment_path %>
